package
{
	import flash.display.DisplayObject;
	
	public dynamic final class AUtils
	{
		
		/**
		 * 获取两个显示对象之间的距离
		 * @param param1 显示对象1
		 * @param param2 显示对象2
		 * @return 距离
		 *
		 */
		public static function GetDisBetweenTwoObj(param1:DisplayObject, param2:DisplayObject):Number
		{
			if (!param1 || !param2)
			{
				return 0;
			}
			var _loc3_:Number = param2.x - param1.x;
			var _loc4_:Number = param2.y - param1.y;
			return Math.sqrt(_loc3_ * _loc3_ + _loc4_ * _loc4_);
		}
	}
}
